package com.wx.mall.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付设置
 * </p>
 *
 * @author j
 * @since 2020-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_pay_config")
@ApiModel(value = "PayConfig对象", description = "支付设置")
public class PayConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "AppId")
    private String appId;

    @ApiModelProperty(value = "密钥key")
    private String appKey;

    @ApiModelProperty(value = "AppSecret")
    private String appSecret;

    @ApiModelProperty(value = "渠道id")
    private String channelId;

    @ApiModelProperty(value = "商户id")
    private String merchantId;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "手机号")
    private String tel;

    @ApiModelProperty(value = "手续费（单位：分）")
    private Integer fees;

    @ApiModelProperty(value = "是否货到付款：0否；1是")
    private Integer isCashOnDelivery;

    @ApiModelProperty(value = "是否在线支付：0否；1是")
    private Integer isPayOnline;

    @ApiModelProperty(value = "状态：0禁用；1正常")
    private Integer state;

    @ApiModelProperty(value = "序号")
    private Integer seq;


}
